package gamedata

var ConfNameM = &nameTableM{}

type nameTableM struct {
	arr []*name
}

func (self *nameTableM) Load() {
	self.arr = make([]*name, 0, len(ConfName.items))

	for _, v := range ConfName.items {
		self.arr = append(self.arr, v)
	}
}

func (self *nameTableM) Items() []*name {
	return self.arr
}
